package com.watchthelan.service.server;

import java.io.Serializable;
import java.util.List;

import com.watchthelan.domain.Server;

public interface ServerManager extends Serializable {
	
	public List<Server> getServers();
	
	/**
	 * Get the list of servers that are owned by the Administrator with the given id
	 * @param id
	 * @return
	 */
	public List<Server> getServersOwnedBy(Long id);
	
	public void addServer(Server server);
	
	public void deleteServerById(Long id);
	
	public void updateServer(Server server);
	
	public Server getServerById(Long id);

}
